package com.coastline.fruit.manage.controller;

import com.coastline.fruit.manage.service.LoginService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 登录相关
 *
 * @author Coastline
 * @date 2025/1/5 22:53
 */
@Api(tags = "manage-登录登出管理")
@Slf4j
@RestController
@RequestMapping("/coastline/fruit/v1")
public class LoginController {

    @Resource
    private LoginService loginService;

    @GetMapping("/feign")
    public String testFeign(){
        return loginService.testFeign();
    }
}
